home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earkit / browser / alynx / lynx.cfg < prev    next >
Text File  |  1998-05-24  |  35KB  |  839 lines

  1. # lynx.cfg file.
  2. #
  3. #* Amiga-specific stuff is marked with "#*"
  4. #* There might be Un*x/VMS-Lynx incompatible items!
  5. #
  6. # The default placement for this file is /usr/local/lib/lynx.cfg (UNIX)
  7. #                                     or Lynx_Dir:lynx.cfg (VMS)
  8. #
  9. #*                                    or AMITCP:db/lynx.cfg  (AMIGA)
  10. #*                                    or INET:db/lynx.cfg    (AMIGA)
  11. #*                                    or PROGDIR:lynx.cfg    (AMIGA)
  12. #
  13. # Definition pairs are of the form  VARIABLE:DEFINITION
  14. # NO spaces are allowed between the pair items.
  15. #
  16. #  If you do not have access to /usr/local/bin you may change
  17. #  the default location of this file in the userdefs.h file and recompile,
  18. #  or specify it's location on the command line with the "-cfg"
  19. #  command line option.
  20. #
  21. # Items may be commented out by putting a '#' as the FIRST char of the line
  22. #
  23. # All definitions must be flush left and have NO spaces.!!!
  24. #
  25. #
  26. #* AMIGA ONLY:
  27. #*============
  28. #* TEMPDIR is the default directory for ALynx to store temporary files.
  29. #* Usually this is T:, but it could be set to some other space.
  30. #* BEWARE! If you set TEMPDIR to some directory on harddisk, this
  31. #* may corrupt your hard drive in case of a machinecrash.
  32. #* The directory MUST end with a colon ":" or slash "/"
  33. #* and it MUST exist.
  34. TEMPDIR:T:
  35.  
  36. #
  37. #
  38. #* AMIGA ONLY:
  39. #*============
  40. #* MAILCOMMAND is the default command for ALynx to mail a textfile
  41. #* to the net. The file to be sent will be put behind this entry.
  42. #* ALynx itself inserts the "From:" and "To:"-headerstuff.
  43. #* You may add commandline options as needed.
  44. #*
  45. #* ADMail-example: (aminet:comm/mail by Simon Brown <simes@amdev.demon.co.uk>)
  46. #MAILCOMMAND:ADMail
  47. #*
  48. #* SMTPpost-example: (aminet:comm/net/INetUtils-1.4-AmiTCP)
  49. #* the line below will expand to "MAILCOMMAND:SMTPpost -f yourusername < T:L1297418400.html"
  50. #MAILCOMMAND:SMTPpost -f $USER <
  51. #*
  52. #* PutMail-example: (aminet:comm/net/PutMail*.lha)
  53. MAILCOMMAND:AmiTCP:bin/PutMail
  54. #MAILCOMMAND:mail
  55.  
  56. #* AMIGA ONLY:
  57. #*============
  58. #* DOWNLOADDIR is the default directory for ALynx to store downloaded files.
  59. #* On default this is $HOME, but it could be set to some other space.
  60. #* The directory MUST end with a colon ":" or slash "/"
  61. #* and it MUST exist.
  62. #* You may also specify an environmentvariable like $DOWNDIR which
  63. #* holds the path.. It has to be set up externally. ENV-vars are marked with
  64. #* a leading '$'. You cannot use mixed vars/pathes.
  65. #* ex.: set USERDOWNDIR $HOME/downloads/
  66. #* DOWNLOADDIR:$USERDOWNDIR
  67. #
  68. DOWNLOADDIR:ARC:tmp/
  69.  
  70. #
  71. #
  72. # STARTFILE is the default URL if none is specified on the command line 
  73. # note: these files can be remote (http://www.w3.org/default.html) 
  74. # or local (file://localhost/DIRECTORY/FILENAME
  75. #  replace DIRECTORY with the current directory path and
  76. #  FILENAME with the name of the file.
  77. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  78. #
  79. #* file://localhost/DIRECTORY/FILENAME 
  80. #* file://localhost/ASSIGN:DIRECTORY/FILENAME on AMIGA systems.)
  81. #  
  82. #STARTFILE:http://www.cc.ukans.edu/about_lynx/www_start.html
  83. STARTFILE:file://localhost/lynx_help/lynx_help_main.html
  84.  
  85. # HELPFILE must be defined as a URL and must have a 
  86. # complete local path name if local 
  87. # (file://localhost/DIRECTORY/FILENAME
  88. #  replace DIRECTORY with the current directory path and
  89. #  FILENAME with the name of the file.
  90. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  91. # the default HELPFILE is:
  92. # http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  93. # We prefer you use your local file system to hold the help files
  94. # so that we can reduce the # of hits on our server.
  95. # This file will be updated as needed.  
  96. #
  97. #* Please insert full path if u copy help_files/ to some other
  98. #* location:
  99. #* HELPFILE:file://localhost/AMITCP:WWW/help_files/Lynx_users_guide.html
  100. #
  101. #HELPFILE:http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  102. HELPFILE:file://localhost/lynx_help/Lynx_users_guide.html
  103.  
  104. # JUMPFILE is the local file checked for shortcut URL's when the
  105. # user presses the 'J' (JUMP) key.  The user will be prompted for
  106. # a shortcut entry (analogously to 'g'oto), and can enter one
  107. # or use '?' for a list of the shortcuts with associated links to
  108. # their actual URL's.  See the sample jumps files in the samples
  109. # subdirectory.  Make sure your jumps file includes a '?' shortcut
  110. # for a file://localhost URL to itself:
  111. #
  112. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  113. #
  114. # If not defined here or in userdefs.h, the JUMP command will invoke
  115. # the NO_JUMPFILE statusline message (see userdefs.h).
  116. #
  117. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  118. #
  119. # On Amiga, use standard AmigaDOS-filenames/paths
  120. #
  121. # Do not include "file://localhost" in the definition.
  122. #
  123. #JUMPFILE:/Lynx_Dir/jumps.html
  124. #* on Amiga-distribution this file is stored in PROGDIR: (changeable)
  125. JUMPFILE:PROGDIR:jumps.html
  126.  
  127. # DEFAULT_INDEX_FILE is the default file retrieved when the
  128. # user presses the 'I' key when viewing any document.
  129. # An index to your CWIS can be placed here or a document containing
  130. # pointers to lots of interesting places on the web.
  131. #
  132. #DEFAULT_INDEX_FILE:http://www.w3.org/default.html
  133. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  134.  
  135. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  136. # treated as an alias for the local host name in checks for URLs on
  137. # the local host (e.g., when the -localhost switch is set), and this
  138. # host name, "localhost", and HTHostName (the fully qualified domain
  139. # name of the system on which Lynx is running) will all be passed as
  140. # local.  A different definition here will override that in userdefs.h.
  141. #
  142. #LYNX_HOST_NAME:www.cc.ukans.edu
  143.  
  144. # The CHARACTER_SET defines the users default 8 bit character set
  145. # which is used to represent the list of character entities within
  146. # HTML. New character sets may be defined by modifying the file
  147. # src/LYCharSets in the Lynx source code distribution and
  148. # recompiling.
  149. # The default character sets include:
  150. #    ISO Latin 1
  151. #    DEC Multinational
  152. #    IBM PC character set
  153. #    NeXT character set
  154. #    7 bit approximations
  155. #
  156. CHARACTER_SET:ISO Latin 1
  157.  
  158. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be
  159. # acted upon for <H1> through <H7> headers.  The compilation default
  160. # is FALSE (only the uppercasing and indentation styles are acted
  161. # upon).  On Unix, compilation with -DUNDERLINE_LINKS also will
  162. # apply to the HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  163. #
  164. BOLD_HEADERS:FALSE
  165.  
  166. # Local execution links and scripts are completely disabled
  167. # in the source code unless they are enabled in the
  168. # userdefs.h file and the sources recompiled.  Please
  169. # see the Lynx source code distribution and the userdefs.h
  170. # file for more detail on enabling execution links and scripts.
  171. #
  172. # If you have enabled execution links or scripts the following
  173. # two variables control Lynx's action when an execution link
  174. # or script is encountered.
  175. #
  176. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  177. # link or script will be executed no matter where it came from.
  178. # This is EXTREMELY dangerous.  Since Lynx can access files from
  179. # anywhere in the world, you may encounter links or scripts that
  180. # will cause damage or comprimise the security of your system.
  181. #
  182. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  183. # links or scripts that reside on the local machine and are
  184. # referenced with a URL beginning with "file://localhost/" or via
  185. # TRUSTED_EXEC rules (see below) will be executed.  This is much
  186. # less dangerous than enabling all execution links, but can still
  187. # be dangerous.
  188. #
  189. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  190. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  191.  
  192. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  193. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  194. # command will be permitted if it was referenced with a URL beginning with
  195. # that string.  If you wish to restrict the referencing URL's further, you
  196. # can extend the string to include a trusted path.  You also can specify
  197. # a trusted directory for http URL's, which will then be treated as if they
  198. # were local rather than remote.  For example:
  199. #
  200. #    TRUSTED_EXEC:file://localhost/trusted/
  201. #    TRUSTED_EXEC:http://www.wfeb.edu/trusted/
  202. #
  203. # If you also wish to restrict the commands which can be executed, create
  204. # a series of rules with the path (Unix) or command name (VMS) following
  205. # the string, separated by a tab.  For example:
  206. #
  207. # Unix:
  208. #    TRUSTED_EXEC:file://localhost/    bin/cp
  209. #    TRUSTED_EXEC:file://localhost/    bin/rm
  210. # VMS:
  211. #    TRUSTED_EXEC:file://localhost/    copy
  212. #    TRUSTED_EXEC:file://localhost/    delete
  213. #
  214. # Once you specify a TRUSTED_EXEC referencing string, the default is
  215. # replaced, and all the referencing strings you desire must be specified
  216. # as a series.  Similarly, if you associate a command with the referencing
  217. # string, you must specify all of the allowable commands as a series of
  218. # TRUSTED_EXEC rules for that string.
  219. #
  220. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec URL's in that
  221. # file will be permitted, regardless of other settings.  If you also set
  222. # LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single TRUSTED_EXEC
  223. # rule that will always fail (e.g., "none"), then *ONLY* the lynxexec URL's
  224. # in JUMPFILE will be allowed.
  225. #
  226. #TRUSTED_EXEC:none
  227.  
  228. # UNIX:
  229. # =====
  230. # TRUSTED_LYNXCGI defines where cgi scripts can live (if LYNXCGI_LINKS 
  231. # is defined in userdefs.h). Note that it must be given in order for
  232. # cgi support to work (there is no default path).  For example:
  233. #     TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  234. #     TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  235. #
  236. # VMS:
  237. # ====
  238. # Do not define this.
  239. #
  240. #TRUSTED_LYNXCGI:none
  241.  
  242. # UNIX:
  243. # =====
  244. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  245. # environment variable to the list of environment variables passed on to the
  246. # lynxcgi script. Useful variables are HOME, USER, EDITOR, etc...
  247. #
  248. # VMS:
  249. # ====
  250. # Do not define this.
  251. #
  252. #LYNXCGI_ENVIRONMENT:
  253.  
  254. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of 
  255. #  the information, or ALERTMAIL if there is no owner, every time
  256. #  that a document cannot be accessed!
  257. #
  258. #  NOTE: This can generate A LOT of mail, be warned.
  259. #
  260. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  261.  
  262. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  263. # message) about the existence of any unread mail at startup of Lynx, and
  264. # will get statusline messages if subsequent new mail arrives.  If a jumps
  265. # file with a lynxexec URL for invoking mail is available, or your html
  266. # pages include an mail launch file URL, the user thereby can access mail
  267. # and read the messages.  The checks and statusline reports will not be
  268. # performed if Lynx has been invoked with the -restrictions=mail switch.
  269. #
  270. #  VMS USERS !!!
  271. # New mail is normally broadcast as it arrives, via "unsolicitied screen
  272. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  273. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  274. # instead (e.g., in a public account which will be used by people who
  275. # are ignorant about VMS).
  276. #
  277. CHECKMAIL:FALSE
  278.  
  279. # VMS:
  280. #=====
  281. # INEWS is the foreign command for the ANU-NEWS client (normally defined
  282. # as "NEWS" in userdefs.h) which serves as a transparent vector for posting
  283. # to newsgroups from Lynx via the ANU-NEWS client's server.  The account
  284. # running Lynx must have access to the ANU-NEWS client, which in turn must
  285. # have posting privileges (the news server could also be ANU-NEWS, or any
  286. # other server to which the ANU-NEWS client has access).  You can disable
  287. # news posting by setting INEWS to "none", or via -restrictions switches.
  288. # The ANU-NEWS software for VMS is available from ftp.cc.ukans.edu.
  289. #
  290. #INEWS:NEWS
  291.  
  292. # UNIX:
  293. #======
  294. # Set INEWS to the full path and name of your program for posting to
  295. # newsgroups.  A "mini" inews is included in the utils subdirectory of
  296. # the Lynx distribution.  You can disable news posting by setting INEWS
  297. # to "none", or via -restrictions switches.
  298. # Note that INN may require an -h switch added to the path.
  299. #
  300. #INEWS:inews
  301.  
  302. # VMS:
  303. #=====
  304. # The mail command is defined in userdefs.h.  It will be spawned as a
  305. # subprocess of lynx and used to send replies and error messages.
  306. # It can be re-defined here.  Your mailer must be able to accept a
  307. # subject line through the use of the /subject="SUBJECT" option.
  308. # If your mailer uses another syntax, some hacking of the mailmsg()
  309. # and reply_by_mail() functions in LYMail.c may be required.
  310. #
  311. #SYSTEM_MAIL:mail
  312.  
  313. # UNIX:
  314. #======
  315. # The mail path normally is defined for sendmail (or submit with MMDF)
  316. # in userdefs.h.  You can change it here, but should first read the
  317. # zillions of CERT advisories about security problems with Unix mailers.
  318. # You may need some hacking of the mailmsg() and reply_by_mail() functions
  319. # in LYMail.c, or interposition of a script, for other mailers.
  320. #
  321. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  322. #SYSTEM_MAIL:/usr/lib/sendmail
  323.  
  324. # VMS ONLY:
  325. #==========
  326. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  327. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  328. # by the user.  If you are using a different Internet mail transport, change
  329. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  330. #
  331. #MAIL_ADRS:""IN%%""%s"""
  332.  
  333. # VMS ONLY:
  334. #==========
  335. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  336. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  337. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  338. # headers of such files will indicate that they are Stream_LF with Implied
  339. # Carriage Control, which is incorrect, and can cause downloading software
  340. # to get confused and unhappy.  If you do set it FALSE, you can use the
  341. # FIXED512.COM command file, which is included in this distribution, to do
  342. # the conversion externally.
  343. #
  344. #USE_FIXED_RECORDS:TRUE
  345.  
  346. # VI_KEYS can be turned on by the user in the options
  347. # screen or the .lynxrc file.  This is just the default.
  348. #
  349. VI_KEYS_ALWAYS_ON:FALSE
  350.  
  351. # EMACS_KEYS can be turned on by the user in the options
  352. # screen or the .lynxrc file.  This is just the default.
  353. #
  354. EMACS_KEYS_ALWAYS_ON:FALSE
  355.  
  356. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  357. # has numbers that work like arrows or else numbered links
  358. # DEFAULT KEYPAD MODE may be set to TRUE for
  359. # using numbers as arrows as default or FALSE for
  360. # using numbered links as the default
  361. DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  362.  
  363. # The default search type.
  364. # This is a default that can be overridden by the user!
  365. #
  366. CASE_SENSITIVE_ALWAYS_ON:FALSE
  367.  
  368. # DEFAULT_BOOKMARK_FILE is a default filename for use as a
  369. # personal bookmark file.  It should start without a slash
  370. # and will reference a file from the users home directory.
  371. # NOTE: A file ending in .html should be used eliminate potential problems
  372. #
  373. DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  374.  
  375. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  376. # NOVICE  shows a three line help message at the bottom of the screen
  377. # INTERMEDIATE  shows normal amount of help (one line)
  378. # ADVANCED  help is replaced by the URL of the current link
  379. #
  380. DEFAULT_USER_MODE:NOVICE
  381.  
  382. # DEFAULT_EDITOR sets the default editor for Lynx users.
  383. # If an editor is defined then the user may edit local documents
  384. # using that editor.  The editor will also be used for sending
  385. # mail messages.  If no editor is defined here or by the user
  386. # the user will not be able to edit local documents and a primative
  387. # line oriented mail input mode will be used.  
  388. # NOTE: Do not define an editor unless you know that every user will
  389. #       know how to use it.  Most users do not enjoy getting stuck in
  390. #       an unknown editor that they can't get out of.  Users can
  391. #       easily define an editor of their own using the options menu,
  392. #       so it is not always desirable to set the DEFAULT_EDITOR.
  393. #
  394. #DEFAULT_EDITOR:
  395.  
  396. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR except that it can't be
  397. # changed.
  398. #
  399. #SYSTEM_EDITOR:
  400.  
  401. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  402. # "fr") which will be indicated by Lynx in its Accept-Language headers
  403. # as the preferred language.  If available, the document will be
  404. # transmitted in that language.  Users can override this setting via
  405. # the 'o'ptions menu and save that preference in their RC file.
  406. #
  407. #PREFERRED_LANGUAGE:en
  408.  
  409. # Proxy variables
  410. # Lynx version 2.2 and beyond supports the use of proxy servers that can
  411. # act as firewall gateways and caching servers.  They are preferable to
  412. # the older gateway servers.  Each protocol used by Lynx can be mapped
  413. # separately using PROTOCOL_proxy environment variables (see INSTALLATION).
  414. # If you have not set them externally, you can set them at run time via
  415. # this configuration file.  They will not override external settings.
  416. # Note that on VMS they are set as process logicals rather than symbols,
  417. # to preserve lowercasing, and will outlive the Lynx image.
  418. #
  419. #http_proxy:http://some.server.dom:port/
  420. #ftp_proxy:http://some.server.dom:port/
  421. #gopher_proxy:http://some.server.dom:port/
  422. #news_proxy:http://some.server.dom:port/
  423. #wais_proxy:http://some.server.dom:port/
  424. #no_proxy:host.domain.dom
  425.  
  426. # Printer definitions
  427. # any number of printers may be defined by using multiple 
  428. # printer definition sets.  Printers may be any program
  429. # that could be useful to your users, they do not necessarily
  430. # have to print.
  431. #
  432. # the definition of a printer is of the form
  433. # PRINTER:<printer name>:<printer command>:<printer option>:<lines/page>
  434. #
  435. #    <printer name> is the name that the user will see
  436. # <printer command> is the command line arguments for printing a file
  437. #            the %s will be replaced with the file being printed.
  438. #                   If a second %s is given the second %s will be replaced by a
  439. #                   suggested filename that is prettier than the tempfile
  440. #                   name given in the first %s.  This does not remove the first
  441. #                   %s from the command line in any manner.  If you need to
  442. #                   use only the second %s file name in your printer command,
  443. #                   then I suggest creating a script which will first copy the
  444. #                   first %s file name to the second %s file name, and then
  445. #                   executing your print command with the second %s file name.
  446. #  <printer option> specifies whether the printer should be disabled for
  447. #            users without printing options.  The options are
  448. #            TRUE or FALSE;
  449. #            TRUE means the printer will always be ENABLED
  450. #             regardless of printer or anonymous settings
  451. #            FALSE means the printer will be DISABLED when
  452. #              the -noprint option is on, or for anonymous
  453. #              users which are not allowed to print
  454. #
  455. #  <lines/page>    is an optional parameter for indicating the number of
  456. #           lines per page for the printer.  Defaults to 66.  Used
  457. #           for computing the approximate number of pages and
  458. #           generating a statusline query of whether to proceed if
  459. #           the document is longer than 4 printer pages.  Uses the
  460. #           current screen length for the computation when the
  461. #           built in "print to screen" option is selected.
  462. #
  463. #  You must put the whole definition on one line.  
  464. #
  465. #  If you must use a colon, precede it with a backslash!
  466. #
  467. #  If you have a very busy VMS print queue and Lynx deletes the temporary
  468. #  files before they have been queued, use the VMSPrint.com included in
  469. #  the distribution.
  470. #
  471. #    examples
  472. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  473. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  474. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  475. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  476. #
  477. # check out the lpansi program in utils/ for printing on vt100
  478. # attached printers.
  479. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  480. # don't use the following printer on anonymous accounts since
  481. # allowing shell input is very dangerous
  482. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  483. #* Amiga-example:
  484. PRINTER:copy to PRT\::copy %s PRT\: quiet:FALSE
  485.  
  486. # Downloader definitions
  487. # any number of downloaders may be defined by using multiple
  488. # downloader definition sets.  Downloaders may be any program
  489. # that could be useful to your users, they do not necessarily
  490. # have to be a download protocol program. The most common use
  491. # of a downloader is to use Ckermit or some other transfer
  492. # program so that the user may easily transfer files back to
  493. # their local machine over a serial link.
  494. #
  495. # the definition of a downloader is of the form
  496. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  497. #
  498. #    <downloader name> is the name that the user will see
  499. # <downloader command> is the command line arguments for printing a file
  500. #                      the %s will be replaced with the file being printed
  501. #                      If a second %s is given the second %s will be replaced
  502. #                      by a suggested filename that is nicer than the tempfile
  503. #                      name given in the first %s.  This does not replace the
  504. #                      first %s in the command line.  If your command needs
  505. #                      the suggest file name on the command line only, then
  506. #                      I suggest creating a script that will first copy the
  507. #                      first %s file name to the second %s file name, and then
  508. #                      execute the downloading command using the second %s file
  509. #                      name (e.g., 'sz' needs such a script interposed).
  510. #  <downloader option> specifies whether the downloader should be disabled for
  511. #                      anonymous users.  The options are
  512. #                      TRUE or FALSE;
  513. #                      TRUE means the downloader will always be ENABLED
  514. #                           regardless of the anonymous settings (however,
  515. #                all downloading is disabled by -validate).
  516. #                      FALSE means the downloader will be DISABLED when
  517. #                            the user is anonymous.
  518. #
  519. #  You must put the whole definition on one line.
  520. #
  521. #  If you must use a colon, precede it with a backslash!
  522. #
  523. #    examples
  524. #*
  525. #* BEWARE USING ":" in PATHNAMES !!! they simply MUST be escaped with "\"
  526. #*
  527. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s -a %s:TRUE
  528. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  529. #*
  530. #* Example for calling the copystripper which allows saving to different
  531. #* destination-dirs
  532. #DOWNLOADER:Save to RAM\::rx goodies/copystripper.rexx %s %s RAM\: >NIL\::TRUE
  533. #*
  534. DOWNLOADER:Save anywhere on disk :copy quiet %s %s >NIL\::TRUE
  535.  
  536.  
  537. # Uploader definitions (implemented only with Unix DIRED_SUPPORT;
  538. #                       see the Makefile in the top directory)
  539. # any number of uploaders may be defined by using multiple
  540. # uploader definition sets.  Uploaders may be any program
  541. # that could be useful to your users, they do not necessarily
  542. # have to be an upload protocol program. The most common use
  543. # of an uploader is to use Ckermit or some other transfer
  544. # program so that the user may easily transfer files from
  545. # their local machine over a serial link.
  546. #
  547. # the definition of an uploader is of the same form as a downloader
  548. # UPLOADER:<uploadername>:<uploader command>:<uploader option>
  549. #
  550. #  You must put the whole definition on one line.
  551. #
  552. #  If you must use a colon, precede it with a backslash!
  553. #
  554. #    example
  555. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  556.  
  557. # If NO_DOT_FILES is TRUE, the user will not be allowed to specify files
  558. # beginning with a dot in reply to output filename prompts.
  559. #
  560. # On VMS, it also will stop inclusion of files beginning with a dot
  561. # (e.g., file://localhost/device/directory/.lynxrc) in the directory
  562. # browser's listings (they are never included on Unix).
  563. #
  564. #NO_DOT_FILES:FALSE
  565.  
  566. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  567. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  568. # strings will be links for the resolved SRC rather than just text.  For
  569. # ISMAP or other graphic links, the ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  570. # strings will have '-' and a link labeled "[IMAGE]" for the resolved SRC
  571. # appended.
  572. #
  573. # The default defined here will override that in userdefs.h, and the user
  574. # can use LYK_IMAGE_TOGGLE to toggle the feature on or off at run time.
  575. #
  576. # The default also can be toggled via an "-image_links" command line switch.
  577. #
  578. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  579.  
  580. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which do not
  581. # specify an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  582. # i.e., they'll be treated as having ALT="".  If MAKE_LINKS_FOR_ALL_IMAGES
  583. # is defined or toggled to TRUE, however, the pseudo-ALTs will be created
  584. # for inlines, so that they can be used as links to the SRCs.
  585. #
  586. # The default defined here will override that in userdefs.h, and the user
  587. # can use LYK_INLINE_TOGGLE to toggle the feature on or off at run time.
  588. #
  589. # The default also can be toggled via a "-pseudo_inlines" command line
  590. # switch.
  591. #
  592. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  593.  
  594. # If SUBSTITUTE_UNDERSCORES is FALSE, the _underline_ format will not be
  595. # used in dumps.
  596. #
  597. # The default defined here will override that in userdefs.h, and the user
  598. # can toggle the default via a "-underscore" command line switch.
  599. #
  600. #SUBSTITUTE_UNDERSCORES:TRUE
  601.  
  602. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "historical"
  603. # behavior of treating any '>' as a terminator for comments.  This is
  604. # recommended until presently historical clients such as Netscape and
  605. # Mosaic use '-->' as the valid terminator, and bad comments cease to
  606. # be so common on the Web.
  607. #
  608. # The default defined here can be toggled via a "-historical" command
  609. # line switch.
  610. #
  611. HISTORICAL_COMMENTS:TRUE
  612.  
  613. # MIME types and viewers!
  614. #
  615. # file extensions may be assigned to MIME types using
  616. # the SUFFIX: definition.  
  617. #
  618. # The SUFFIX definition takes the form of:
  619. #    SUFFIX:<file extension>:<mime type>
  620. # for instance the following definition maps the
  621. # extension ".gif" to the mime type "image/gif"
  622. #    SUFFIX:.gif:image/gif
  623. #
  624. # file suffixes are case INsensitive!
  625. #
  626. # The suffix definitions listed here in the default lynx.cfg file are
  627. # among those established via src/HTInit.c.  You can change any of the
  628. # defaults by editing that file, or via the global or personal mime.types
  629. # files at run time.  They will be overridden if you assign them here.
  630.  
  631. #SUFFIX:.ps:application/postscript
  632. #SUFFIX:.eps:application/postscript
  633. #SUFFIX:.ai:application/postscript
  634. #SUFFIX:.rtf:application/x-rtf
  635. #SUFFIX:.snd:audio/basic
  636. #SUFFIX:.gif:image/gif
  637. #SUFFIX:.rgb:image/x-rgb
  638. #SUFFIX:.pict:image/x-pict
  639. #SUFFIX:.xbm:image/x-xbm
  640. #SUFFIX:.tiff:image/x-tiff
  641. #SUFFIX:.jpg:image/jpeg
  642. #SUFFIX:.jpeg:image/jpeg
  643. #SUFFIX:.mpg:video/mpeg
  644. #SUFFIX:.mpeg:video/mpeg
  645. #SUFFIX:.mov:video/quicktime
  646. #SUFFIX:.hqx:application/octet-stream
  647. #SUFFIX:.bin:application/octet-stream
  648. #SUFFIX:.exe:application/octet-stream
  649. #SUFFIX:.tar:application/octet-stream
  650. #SUFFIX:.Z:application/octet-stream
  651. #SUFFIX:.gz:application/octet-stream
  652. #SUFFIX:.zip:application/octet-stream
  653. #SUFFIX:.lzh:application/octet-stream
  654. #SUFFIX:.lha:application/octet-stream
  655. #SUFFIX:.dms:application/octet-stream
  656.  
  657. # The global and personal EXTENSION_MAP files allow you to assign extensions
  658. # to MIME types which will overide any of the suffix maps in this (lynx.cfg)
  659. # configuration file, or in src/HTInit.c.  See the example mime.types file
  660. # in the samples subdirectory.
  661. #
  662. #     Unix:
  663. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  664. #     VMS:
  665. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  666. #*     Amiga:
  667. GLOBAL_EXTENSION_MAP:ENV:Mosaic/mime.types
  668. #
  669. #    Unix (sought in user's home directory):
  670. #PERSONAL_EXTENSION_MAP:.mime.types
  671. #    VMS (sought in user's sys$login directory):
  672. #PERSONAL_EXTENSION_MAP:mime.types
  673. #*    Amiga (sought in user's $HOME-directory):
  674. PERSONAL_EXTENSION_MAP:mime.types
  675.  
  676. # The global and personal MAILCAP files allow you to specify external
  677. # viewers to spawned when Lynx encounters different MIME types, which
  678. # will overide any of the suffix maps in this (lynx.cfg) configuration
  679. # file, or in src/HTInit.c.  See RFC-MAILCAP.txt in the docs subdirectory
  680. # and the example mailcap file in the samples subdirectory.
  681. #
  682. #    Unix:
  683. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  684. #    VMS:
  685. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  686. #*    Amiga:
  687. #* You may also specify an environment-variable beginning with '$'
  688. #* GLOBAL_MAILCAP:$MAILCAPS
  689. GLOBAL_MAILCAP:ENV:Mosaic/mailcap
  690.  
  691. #
  692. #     Sought in user's home (Unix|Amiga) or sys$login (VMS) directory.
  693. #PERSONAL_MAILCAP:.mailcap
  694.  
  695. # MIME types may be assigned to external viewers using
  696. # the VIEWER definition.
  697. #
  698. # Note: if you do not define a viewer to a new MIME type
  699. #       that you assigned above then it will be saved to
  700. #       disk by default.
  701. #
  702. # The VIEWER definition takes the form of:
  703. #    VIEWER:<mime type>:<viewing command>[:environment]
  704. #      where -mime type is the MIME content type of the file
  705. #         -viewing command is a system command that can be
  706. #             used to display the file where "%s" is replaced
  707. #             within the command with the physical filename
  708. #             (i.e. "xv %s" becomes "xv /tmp/tempgiffile")
  709. #            -environment is optional.  The only valid keywords
  710. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS 
  711. #             environment is specified then the viewer will only be
  712. #             defined when the user has the environment variable DISPLAY
  713. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  714. #             is specified the specified viewer will only be defined when the
  715. #             user DOES NOT have the environment variable DISPLAY defined.
  716. #  examples:
  717. #        VIEWER:image/gif:xv %s:XWINDOWS
  718. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  719. #               VIEWER:application/start-elm:elm
  720. #
  721. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  722. # file are among those established via src/HTInit.c.  For the image types,
  723. # HTInit.c uses the XLOADIMAGE definition in userdefs.h (open is used for
  724. # NeXT). You can change any of these defaults via the global or personal
  725. # mailcap files at run time.  They will be overridden if you assign them
  726. # here.
  727.  
  728. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  729. #VIEWER:image/gif:xv %s&:XWINDOWS
  730. #VIEWER:image/x-xbm:xv %s&:XWINDOWS
  731. #VIEWER:image/x-rgb:xv %s&:XWINDOWS
  732. #VIEWER:image/x-tiff:xv %s&:XWINDOWS
  733. #VIEWER:image/jpeg:xv %s&:XWINDOWS
  734. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  735.  
  736. #* N`Kognito, Heikki Kantola, genius
  737. VIEWER:image/gif:Multiview %s:NON_XWINDOWS
  738. VIEWER:image/x-xbm:MultiView %s:NON_XWINDOWS
  739. VIEWER:image/x-rgb:MultiView %s:XWINDOWS
  740. VIEWER:image/x-tiff:MultiView %s:XWINDOWS
  741. VIEWER:image/jpeg:FastView %s:NON_XWINDOWS
  742. VIEWER:video/mpeg:mp %s:NON_XWINDOWS
  743. VIEWER:audio/*:play16 %s:NON_XWINDOWS
  744.  
  745. # Key remapping definitions!
  746. #
  747. # You may redefine the keymapping of any function in Lynx by
  748. # using the KEYMAP variable.  The form of KEYMAP is:
  749. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  750. #
  751. # You must map upper and lowercase key's separately.
  752. #
  753. # A complete list of functions mapped to their default keys are
  754. # provided below.  All of the mappings are commented out by default
  755. # since they just map to the default mappings, except for TOGGLE_HELP
  756. # (see below).
  757. #
  758. # Special keys map to:
  759. #         Up Arrow: 0x80
  760. #       Down Arrow: 0x81
  761. #      Right Arrow: 0x82
  762. #       Left Arrow: 0x83
  763. #        Page Down: 0x84
  764. #          Page Up: 0x85
  765. #      Keypad Home: 0x86
  766. #       Keypad End: 0x87
  767. #   Function key 1: 0x88
  768. # vt100   Help Key: 0x88
  769. # vt100     Do Key: 0x89
  770. # vt100   Find Key: 0x8A
  771. # vt100 Select Key: 0x8B
  772. # vt100 Insert Key: 0x8C
  773. # vt100 Remove Key: 0x8D
  774. #         NULL KEY: 0x00
  775. #
  776.  
  777. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source
  778. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  779. #KEYMAP:q:QUIT        # Ask the user to quit
  780. #KEYMAP:Q:ABORT        # Quit without verification
  781. #KEYMAP:0x20:NEXT_PAGE    # Move down to previous page
  782. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  783. #KEYMAP:^P:UP_TWO    # Move display up two lines
  784. #KEYMAP:0x8C:UP_TWO     # Function key - Move display up two lines
  785. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  786. #KEYMAP:0x8D:DOWN_TWO   # Function key - Move display down two lines
  787. #KEYMAP:^W:REFRESH    # Refresh the screen
  788. #KEYMAP:0x86:HOME       # Keypad HOME (Go to top of current document
  789. #KEYMAP:0x8A:HOME       # Function key - HOME (Go to top of current document
  790. #KEYMAP:0x87:END    # Keypad END (Go to bottom of current document
  791. #KEYMAP:0x8B:END        # Function key - END (Go to bottom of current document
  792. #KEYMAP:0x80:PREV_LINK  # Move to the previous link
  793. #KEYMAP:0x81:NEXT_LINK  # Move to the next link
  794. #KEYMAP:0x00:UP_LINK    # Move to the link above
  795. #KEYMAP:0x00:DOWN_LINK    # Move to the link below
  796. #KEYMAP:0x00:RIGHT_LINK    # Move to the link to the right
  797. #KEYMAP:0x00:LEFT_LINK    # Move to the link to the left
  798. #KEYMAP:0x7f:HISTORY    # Show the history list
  799. #KEYMAP:0x08:HISTORY    # Show the history list
  800. #KEYMAP:0x83:PREV_DOC    # Return to the previous document
  801. #KEYMAP:0x82:ACTIVATE    # Select the current link
  802. #KEYMAP:0x89:ACTIVATE   # Function key - Select the current link
  803. #KEYMAP:g:GOTO        # Goto a random URL
  804. #KEYMAP:H:HELP        # Show default help screen
  805. #KEYMAP:0x88:HELP       # Function key - Show default help screen
  806. #KEYMAP:i:INDEX        # Show default index
  807. #*** Edit FORM_LINK_SUBMIT_MESSAGE in userdefs.h if you change RESUBMIT ***
  808. #KEYMAP:x:RESUBMIT    # Force resubmission of form if presently cached
  809. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  810. #KEYMAP:z:INTERRUPT    # Interrupt network transmission
  811. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  812. #KEYMAP:o:OPTIONS    # Show the options menu
  813. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  814. #KEYMAP:/:WHEREIS    # Find a string within the current document
  815. #KEYMAP:n:NEXT        # Find next occurance of string within document
  816. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  817. #KEYMAP:e:EDIT        # Edit current document
  818. #KEYMAP:=:INFO        # Show info about current document
  819. #KEYMAP:p:PRINT        # Show print options
  820. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  821. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  822. #KEYMAP:!:SHELL        # Spawn default shell
  823. #KEYMAP:d:DOWNLOAD    # Download current link
  824. #KEYMAP:j:JUMP        # Jump to a predefined target
  825. #KEYMAP:k:KEYMAP    # Display the current key map
  826. #KEYMAP:l:LIST        # List the references (links) in the current document
  827. #KEYMAP:^T:TRACE_TOGGLE    # Toggle tracing of browser operations
  828. #KEYMAP:*:IMAGE_TOGGLE    # Toggle inclusion of links for all images
  829. #KEYMAP:[:INLINE_TOGGLE    # Toggle pseudo-ALTs for inlines with no ALT string
  830. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  831.  
  832. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  833. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  834. # userdefs.h.  Otherwise, it will be NOVICE_LINE_TWO.
  835. #
  836. #KEYMAP:O:TOGGLE_HELP    # Show other commands in the novice help menu
  837.